package com.ruoyi.contactSys.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 中心核心基础信息对象 tb_center_basic
 * 
 * @author ruoyi
 * @date 2025-11-05
 */
public class TbCenterBasic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 中心全称 */
    @Excel(name = "中心全称")
    private String fullName;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 邮编 */
    @Excel(name = "邮编")
    private String postalCode;

    /** 成立日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date establishedDate;

    /** 中心概况 */
    @Excel(name = "中心概况")
    private String overview;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String contactInfo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setFullName(String fullName) 
    {
        this.fullName = fullName;
    }

    public String getFullName() 
    {
        return fullName;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setPostalCode(String postalCode) 
    {
        this.postalCode = postalCode;
    }

    public String getPostalCode() 
    {
        return postalCode;
    }

    public void setEstablishedDate(Date establishedDate) 
    {
        this.establishedDate = establishedDate;
    }

    public Date getEstablishedDate() 
    {
        return establishedDate;
    }

    public void setOverview(String overview) 
    {
        this.overview = overview;
    }

    public String getOverview() 
    {
        return overview;
    }

    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fullName", getFullName())
            .append("address", getAddress())
            .append("postalCode", getPostalCode())
            .append("establishedDate", getEstablishedDate())
            .append("overview", getOverview())
            .append("contactInfo", getContactInfo())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
